<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/page/inc/taglib.jsp"%>
<div class="pageContent">
	<form method="post" action="${pageContext.request.contextPath}${requestScope.record ==null ?'/merchant/merchantProductType/insert' :'/merchant/merchantProductType/update' }" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
		<div class="pageFormContent" layoutH="56">
			<!-- 关闭窗口 -->
			<input type="hidden" name="callbackType" value="closeCurrent" />
			<!-- 隐藏表单 -->
			<c:if test="${requestScope.record !=null}">
				<input type="hidden" name="merchantProductTypeId" value="${requestScope.record.merchantProductTypeId}" />
			</c:if>
			<p class="nowrap">
				<label>分类名称</label> <input name="productTypeName" class="required" maxlength="50" type="text" value="${requestScope.record.productTypeName}" placeholder="请输入分类名称" />
			</p>
			<p class="nowrap">
				<label>排序</label> <input name="sorting" class="required digits" maxlength="2" type="text" value="${requestScope.record.sorting}" placeholder="请输入排序" />
			</p>
			<p class="nowrap">
				<label></label> <input name="addTime" maxlength="${field.size}" type="hidden" value='<fmt:formatDate pattern="yyyy-MM-dd" value="${requestScope.record.addTime}"/>' />
			</p>
			<p class="nowrap">
				<label></label> <input name="operator" type="hidden" value="${requestScope.record.operator}" />
			</p>
			<p class="nowrap">
				<label></label> <input name="del" type="hidden" value="${requestScope.record.del}" />
			</p>
		</div>
		<div class="formBar">
			<ul>
				<!--<li><a class="buttonActive" href="javascript:;"><span>保存</span></a></li>-->
				<li><div class="buttonActive">
						<div class="buttonContent">
							<button type="submit">保存</button>
						</div>
					</div></li>
				<li>
					<div class="button">
						<div class="buttonContent">
							<button type="button" class="close">取消</button>
						</div>
					</div>
				</li>
			</ul>
		</div>
	</form>
</div>